// pages/render/index.js
Page({
  data: {
    message: 'hellow',
    isOpen: true,
    isShow: false,
    students: [
      { id: 1, name: '贺洋', age: 20, gender: '男', level: '菜鸟' },
      { id: 2, name: '唐刚', age: 18, gender: '女', level: '笨鸟' },
      { id: 3, name: '常超', age: 20, gender: '女', level: '老鸟' }
    ],
    history: ['苹果', '华为', 'OPPO', '三星']
  },
  changeShow() {
    this.setData({
      isShow: !this.data.isShow
    })
  }
})